package com.cloudcc.mobile.dao;

import com.cloudcc.cloudframe.net.RequestListener;
import com.cloudcc.mobile.event.ScheduleEventList.ScheduleInfoEvent;
import com.cloudcc.mobile.event.ScheduleEventList.ScheduleListEvent;

/**
 * @Description: 日程
 * @author wangzhiqiang
 * @date 2015-11-27 上午10:49:59
 * 
 */
public interface ScheduleEngine {

	/**
	 * 获取 日程列表
	 * 
	 * @param key
	 * @param event
	 */
	void getScheduleList(String belongtoid,String year,String month,ScheduleListEvent event);

	/**
	 * 获取 日程详情
	 * 
	 * @param key
	 * @param event
	 */
	void getScheduleInfo(String key, ScheduleInfoEvent event);
	
	/** 使一个任务完成
	 * @param id
	 * @param listener
	 */
	void completeOneTask(String id,RequestListener listener);
}
